.btn {
  &,
  &:link,
  &:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.5rem 4rem;
    display: inline-block;
    border-radius: 10rem;
    transition: all 0.2s;
    position: relative;

    //Change for <button>
    border: none;
    cursor: pointer;
  }
  &:hover {
    transform: translateY(-0.3rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    &::after {
      transform: scale(1.5);
      opacity: 0;
    }
  }
  &:active,
  &:focus {
    outline: none;
    transform: translateY(-0.1rem);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
  }

  &--white {
    background-color: $color-white;
    color: $color-gray-dark;
  }
  &--white::after {
    background-color: $color-white;
  }
  &--green {
    background-color: $color-green;
    color: $color-white;
  }
  &--green::after {
    background-color: $color-green;
  }
  &::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 10rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.4s;
  }

  &--animated {
    animation-name: moveInBottom;
    animation-duration: 2s;
    animation-fill-mode: backwards;
  }
}

.btn-text {
  &:link,
  &:visited {
    font-size: $font-size-samll;
    color: $color-primary-light;
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid $color-primary-light;
    padding: 3px;
    transition: all 0.2s ease-in-out;
  }

  &:hover {
    background-color: $color-primary-light;
    color: $color-white;
    transform: translateY(-2px);
    box-shadow: 0 1rem 1.5rem rgba($color-black, 0.25);
  }

  &:active {
    background-color: $color-primary-light;
    color: $color-white;
    transform: translateY(0);
    box-shadow: 0 0.2rem 0.8rem rgba($color-black, 0.25);
  }
}
